Technical Q&As
NW 07 - MacTCP and UDP Performance (1-May-95)
Q We are trying to tunnel IPX through MacTCP (version 2.0.X), and we are
experiencing a performance slowdown. We ran some timing tests on our routines
and noticed that it takes approximately 10 milliseconds between when we post
the read to UDP and when our completion routine is called. It also takes
approximately 10 milliseconds for our send completion routine to be called
after we post a send to UDP. How does MacTCP implement the completion-routine
calling mechanism to its clients? Is there some sort of timer involved? Is
there anything that we can do to speed up this process?
A The sluggish performance you are experiencing with UDP stems from MacTCP's use
of a Time Manager task (scheduled every 10 milliseconds) to process UDP
commands. Since this portion of MacTCP would have to be rewritten to eliminate
the Time Manager tasks, there doesn't appear to be anything you can do to
improve the UDP performance.
Technical Q&As
Previous Question | Contents | Next Question